package com.cg.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 作品
 * </p>
 *
 * @author 加
 * @since 2025-01-17
 */
@Data
@ApiModel(value="addWork对象", description="作品")
public class AddWorkDTO{
    @NotBlank
    @ApiModelProperty(value = "作品名称")
    private String workName;

    @ApiModelProperty(value = "省市区")
    private Long cityId;


    @ApiModelProperty(value = "照片")
    private String picture;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "起源地")
    private String cityName;

    @NotNull
    @ApiModelProperty(value = "作品类型")
    private Long typeId;

}
